PhpOffice\PhpSpreadsheet\Style\NumberFormat\NumberFormatter A

Total Complexity 54
Dependencies 4
Dependents 1
Total lines 310
Lines of code 207
Logical lines of code 141
Comment lines 43
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
format()
A
44 10 42
complexNumberFormatMask()
A
47 10 34
formatStraightNumericValue()
A
47 8 34
floatStringConvertScientific()
S
54 6 19
processComplexNumberFormatMask()
S
52 4 23
padValue()
S
57 4 16
mergeComplexNumberFormatMasks()
S
58 4 15
makeString()
S
78 2 3
areThousandsRequired()
S
68 2 7
scaleThousandsMillions()
S
65 2 8
f2s()
S
79 1 3
pregReplace()
S
77 1 3